package com.koron.car.web.applycar.feign;

import com.koron.bean.base.Response;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author yijian
 */
@FeignClient(value = "eam-service-system")
public interface SystemFeignService {

    @GetMapping("/sys/DataDictDetail/getDetailsByDictionaryAndAppId")
    @ApiOperation(value = "根据数据字典和所属水司查找对应的数据字典详情信息")
    Response getDetailsByDictionaryAndAppId(@RequestParam("dictionary") String dictionary, @RequestParam("appid") String appid);
}
